WPDM\MediaLibrary\MediaAccessControl S

Total Complexity 49
Dependencies 6
Dependents 1
Total lines 387
Lines of code 287
Logical lines of code 165
Comment lines 58
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
protectMediaLibrary()
A
41 14 48
mediaAccessControl()
A
39 9 76
updateMediaAccess()
S
52 5 23
makeMediaPass()
S
57 5 14
makeMediaPrivate()
S
57 3 16
makeMediaPublic()
S
57 3 16
mediaDownload()
S
61 3 11
mediaShortcode()
S
60 3 11
footerScripts()
S
61 1 32
__construct()
S
57 2 16
protectionSettings()
S
55 1 24